package com.xmall.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@EnableConfigurationProperties
@ConfigurationProperties(prefix = "thread.task")
public class ThreadTaskProperties {

    private Integer asyncCore;

    private Integer asyncMax;

    private Integer asyncQueueSize;

    private Integer asyncKeepAliveSeconds;

    private Integer timerCore;
}
